﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace ConsoleApp3
{
    class Circle : Shape
    {
        public int radius { get; set; }

        public Circle()
         { }
        public Circle(int radius)
        {
            this.radius = radius;
        }
        public override void GetArea()
        {
            base.GetArea();
            Console.WriteLine("圆的面积："+3.14*radius*radius);
        }
    }
}
